package cn.good.payment.servcie;

import cn.good.pojo.Order;
import cn.good.vo.OrderCreateVO;
import cn.good.vo.OrderSearchVO;
import cn.good.vo.PageListVO;

import java.util.List;

public interface GDOrderService {
    //根据id查询订单
    Order searchOrderById(Long id)throws Exception;
    //查询订单列表
    PageListVO<Order> searchOrderList(OrderSearchVO orderSearchVO)throws Exception;
    //创建订单
    Order createOrder(OrderCreateVO orderCreateVO)throws Exception;
    //根据编号查询订单
    Order searchOrderByNo(String orderNo);
    //修改订单状态
    void modifiOrder(String orderNo,String tradeNo) throws Exception;
}
